/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sda.levelup.testFrame;

import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 *
 * @author Дима
 */
public class MyFrame extends JFrame
{
    private Toolkit t = Toolkit.getDefaultToolkit();
    Dimension d = t.getScreenSize();
    private int x = (int) d.getWidth() / 2;
    private int y = (int) d.getHeight() / 2;

    public MyFrame() {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setSize(400, 400);
        setLocation(x, y);
        FillFrame();
    }
    public void FillFrame(){
        
    }
    
    class MainPanel extends JPanel{

        public MainPanel() {
        }
        
//        public JPanel createComboBox(){
//            JPanel combo = new JPanel();
//            JComboBox
//        }
    }
}
